const express = require("express");
const api = express.Router();
const user = require("./user");
const account = require("./account");
const auth = require("../middleware/auth");

// 校验中间件
api.use("/user", auth, user);
api.use("/account", account);

module.exports = api;
